package com.ruoyi.assets.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 折旧对象 asset_financial
 * 
 * @author 孙帆科
 * @date 2025-03-04
 */
public class AssetFinancial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long financialId;

    /** 分类ID */
    private Long cateoriesId;

    /** 资产原值 */
    @Excel(name = "资产原值")
    private Double originalValue;

    /** 税额 */
    @Excel(name = "税额")
    private Double taxAmount;

    /** 残值率 */
    @Excel(name = "残值率")
    private Double salvageRate;

    /** 预计残值 */
    @Excel(name = "预计残值")
    private Double estimatedSalvageValue;

    /** 减值准备 */
    @Excel(name = "减值准备")
    private Double impairmentProvision;

    /** 预计使用期间 */
    @Excel(name = "预计使用期间")
    private Long expectedUsagePeriod;

    /** 已折旧期间 */
    @Excel(name = "已折旧期间")
    private Long depreciatedPeriod;

    /** 剩余使用期间 */
    @Excel(name = "剩余使用期间")
    private Long remainingUsagePeriod;

    /** 期初累计折旧 */
    @Excel(name = "期初累计折旧")
    private Double beginningAccumulatedDepreciation;

    /** 每月折旧额，数值类型 */
    @Excel(name = "每月折旧额，数值类型")
    private Double monthlyDepreciation;

    /** 期初净值，数值类型 */
    @Excel(name = "期初净值，数值类型")
    private Double beginningNetValue;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setFinancialId(Long financialId) 
    {
        this.financialId = financialId;
    }

    public Long getFinancialId() 
    {
        return financialId;
    }
    public void setOriginalValue(Double originalValue) 
    {
        this.originalValue = originalValue;
    }

    public Double getOriginalValue() 
    {
        return originalValue;
    }
    public void setTaxAmount(Double taxAmount) 
    {
        this.taxAmount = taxAmount;
    }

    public Double getTaxAmount() 
    {
        return taxAmount;
    }
    public void setSalvageRate(Double salvageRate) 
    {
        this.salvageRate = salvageRate;
    }

    public Double getSalvageRate() 
    {
        return salvageRate;
    }
    public void setEstimatedSalvageValue(Double estimatedSalvageValue) 
    {
        this.estimatedSalvageValue = estimatedSalvageValue;
    }

    public Long getCateoriesId() {
        return cateoriesId;
    }

    public void setCateoriesId(Long cateoriesId) {
        this.cateoriesId = cateoriesId;
    }

    public Double getEstimatedSalvageValue()
    {
        return estimatedSalvageValue;
    }
    public void setImpairmentProvision(Double impairmentProvision) 
    {
        this.impairmentProvision = impairmentProvision;
    }

    public Double getImpairmentProvision() 
    {
        return impairmentProvision;
    }
    public void setExpectedUsagePeriod(Long expectedUsagePeriod) 
    {
        this.expectedUsagePeriod = expectedUsagePeriod;
    }

    public Long getExpectedUsagePeriod() 
    {
        return expectedUsagePeriod;
    }
    public void setDepreciatedPeriod(Long depreciatedPeriod) 
    {
        this.depreciatedPeriod = depreciatedPeriod;
    }

    public Long getDepreciatedPeriod() 
    {
        return depreciatedPeriod;
    }
    public void setRemainingUsagePeriod(Long remainingUsagePeriod) 
    {
        this.remainingUsagePeriod = remainingUsagePeriod;
    }

    public Long getRemainingUsagePeriod() 
    {
        return remainingUsagePeriod;
    }
    public void setBeginningAccumulatedDepreciation(Double beginningAccumulatedDepreciation) 
    {
        this.beginningAccumulatedDepreciation = beginningAccumulatedDepreciation;
    }

    public Double getBeginningAccumulatedDepreciation() 
    {
        return beginningAccumulatedDepreciation;
    }
    public void setMonthlyDepreciation(Double monthlyDepreciation) 
    {
        this.monthlyDepreciation = monthlyDepreciation;
    }

    public Double getMonthlyDepreciation() 
    {
        return monthlyDepreciation;
    }
    public void setBeginningNetValue(Double beginningNetValue) 
    {
        this.beginningNetValue = beginningNetValue;
    }

    public Double getBeginningNetValue() 
    {
        return beginningNetValue;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("financialId", getFinancialId())
            .append("cateoriesId", getCateoriesId())
            .append("originalValue", getOriginalValue())
            .append("taxAmount", getTaxAmount())
            .append("salvageRate", getSalvageRate())
            .append("estimatedSalvageValue", getEstimatedSalvageValue())
            .append("impairmentProvision", getImpairmentProvision())
            .append("expectedUsagePeriod", getExpectedUsagePeriod())
            .append("depreciatedPeriod", getDepreciatedPeriod())
            .append("remainingUsagePeriod", getRemainingUsagePeriod())
            .append("beginningAccumulatedDepreciation", getBeginningAccumulatedDepreciation())
            .append("monthlyDepreciation", getMonthlyDepreciation())
            .append("beginningNetValue", getBeginningNetValue())
            .append("remarks", getRemarks())
            .toString();
    }
}
